package circuits;

public class Wire implements Input, Output, BooleanValue{

	private boolean currentState;
	
	public Wire(){
		this.currentState = false;
	}
	
	@Override
	public void setCurrentState(boolean currentState) {
		this.currentState = currentState;
	}

	@Override
	public boolean getCurrentState() {
		return this.currentState;
	}

	@Override
	public boolean getBooleanValue() {
		return this.currentState;
	}
}
